<!DOCTYPE html>
<script src="../../resources/ahem.js"></script>
<div style="position: relative;">
    <pre id="demo" style="font-family: Ahem; width: 2em; white-space: pre-wrap">a b </pre>
    <div style="position: absolute; top: 0; left: 1em; width: 1em; height: 2em; background-color: #ff9632;"></div>
</div>
<p>Test for crbug.com/521047. Passes if find-in-page marker highlight is visible in both lines above.
